//
//  SPUserBaseMessageModel.m
//  Sampux
//
//  Created by rzm on 16/8/16.
//  Copyright © 2016年 rzm. All rights reserved.
//

#import "SPUserBaseMessageModel.h"

#define SAVEORNOT  @"SAVEORNOT"

@implementation SPUserBaseMessageModel

+ (BOOL)getIsRememberUserPassWordOrNOt
{
    BOOL remember = [[[NSUserDefaults standardUserDefaults] objectForKey:SAVEORNOT] boolValue];
    return remember;
}

+ (void)saveRememberUserPassWordOrNOt:(BOOL)remember
{
    NSNumber *temp = [NSNumber numberWithBool:remember];
    [[NSUserDefaults standardUserDefaults] setObject:temp forKey:SAVEORNOT];
    [[NSUserDefaults standardUserDefaults] synchronize];
}
@end
